AM_CPPFLAGS = -I $(top_srcdir)/include $(BOOST_CPPFLAGS)
#AM_CXXFLAGS = -pthread

AM_LDFLAGS = \
    $(BOOST_REGEX_LDFLAGS) \
    $(BOOST_FILESYSTEM_LDFLAGS) \
    $(BOOST_THREAD_LDFLAGS)

lib_LTLIBRARIES = libkotf.la

libkotf_la_SOURCES = \
    Error.cpp \
    EventBuffer.cpp EventBuffer.hpp \
    Reader.cpp \
    Records.cpp \
    Session.cpp \
    SessionImpl.cpp SessionImpl.hpp \
    Stream.cpp \
    StreamHelpers.cpp \
    StreamImpl.cpp StreamImpl.hpp \
    TypesInternal.hpp \
    Writer.hpp Writer.cpp

libkotf_la_LIBADD = \
    $(BOOST_REGEX_LIBS) \
    $(BOOST_FILESYSTEM_LIBS) \
    $(BOOST_THREAD_LIBS) \
    -lrt
